import React, { PureComponent } from 'react';
import styles from './index.less';

export default class VerticalCenter extends PureComponent {
  render() {
    return (
      <div className={styles.vertical_center_wrapper} style={this.props.style} onClick={this.props.onClick}>
        <div>
          {this.props.children}
        </div>
      </div>
    );
  }
}